package com.eshop.eshop2021_v1.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.List;

/**
 * @author: 若若叶
 * @date: 2021/10/6 8:59 FileName: User Description:
 */
@Component
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_user")
public class UserTest extends BasePojo implements Serializable {
  @TableId(type = IdType.AUTO)
  private Integer uid;

  private String email;
  private String password;
  private String phone;
  private String realName;
  private Integer sex; // 0:男   1:女
  private Integer isDelete; // 0:被删除   1:没被删除
  private List<Address> list;
}
